<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;

Route::get('think', function () {
    return 'hello,ThinkPHP6!';
});

Route::get('hello/:name', 'index/hello');//定义路由


// 道具购买
Route::get('buygoodls', 'index/buygoodls')->allowCrossDomain();

//交易行
Route::post('test', 'handingbank/test')->allowCrossDomain();

Route::post('test1', 'game/test1')->middleware('ProtectPermission',3);//路由中间件

Route::post('checkgoods', 'handingbank/checkgoods')->allowCrossDomain();
Route::post('shellGoods', 'handingbank/shellGoods')->allowCrossDomain();
Route::post('buyGoods', 'handingbank/buyGoods')->allowCrossDomain();
Route::get('getConfig', 'handingbank/getConfig')->allowCrossDomain();
Route::get('gethandingconfig', 'index/gethandingconfig')->allowCrossDomain();
Route::post('getgoods', 'handingbank/getgoods')->allowCrossDomain();
Route::get('getShellList', 'index/getShellList')->allowCrossDomain();
Route::get('getbuylList', 'index/getbuylList')->allowCrossDomain();
Route::get('getmyShellList', 'index/getmyShellList')->allowCrossDomain();
Route::get('getmybuylList', 'index/getmybuylList')->allowCrossDomain();

Route::get('removeItem', 'index/removeItem')->allowCrossDomain();

// 头筹活动
Route::post('automaticLogin', 'index/automaticLogin')->allowCrossDomain();

Route::post('serverConfig', 'index/serverConfig')->allowCrossDomain();

Route::get('getLuncils', 'index/getLuncils')->allowCrossDomain();

Route::get('getPlayerRmb', 'index/getPlayerRmb')->allowCrossDomain();

Route::get('getPlayer6yk', 'index/getPlayer6yk')->allowCrossDomain();

Route::get('getCanyu', 'index/getCanyu')->allowCrossDomain();

Route::get('getmylogls', 'index/getmylogls')->allowCrossDomain();

Route::get('getalllogls', 'index/getalllogls')->allowCrossDomain();

//盲盒活动
Route::get('getPlayerConfig', 'index/getPlayerConfig')->allowCrossDomain();

Route::get('openBlackbox', 'index/openBlackbox')->allowCrossDomain();

Route::get('getBroad', 'index/getBroad')->allowCrossDomain();

Route::get('sendRankBroad', 'index/sendRankBroad')->allowCrossDomain();

Route::get('rechargePtb', 'index/rechargePtb')->allowCrossDomain();

Route::get('getcocosurl', 'index/getcocosurl')->allowCrossDomain();


//砸蛋活动
Route::get('getZadanPlayerConfig', 'index/getZadanPlayerConfig')->allowCrossDomain();
Route::get('zadanrechargePtb', 'index/zadanrechargePtb')->allowCrossDomain();
Route::get('zadan', 'index/zadan')->allowCrossDomain();
Route::get('getzadancocosurl', 'index/getzadancocosurl')->allowCrossDomain();


//外置装备合成
Route::get('getwzConfighecheng', 'index/getwzConfighecheng')->allowCrossDomain();

